Uses of Class
edu.claflin.finder.logic.Node
-
Packages that use Node Package Description edu.claflin.finder.algo Contains the Algorithm code for finding bipartite subgraphs.edu.claflin.finder.algo.clustering edu.claflin.finder.logic Contains the data structure and processing code-base.edu.claflin.finder.logic.communities edu.claflin.finder.logic.communities.struct.fast_greedy_struct edu.claflin.finder.logic.cond Contains Condition implementations for identifying subgraph types. -
-
Uses of Node in edu.claflin.finder.algo
Methods in edu.claflin.finder.algo that return Node Modifier and Type Method Description private NodeDijkstraShortestPath. closestReachableUnvisited(java.util.HashMap<Node,java.lang.Double> shortestPathMap, Graph graph, java.util.Set<java.lang.String> visited)Methods in edu.claflin.finder.algo with parameters of type Node Modifier and Type Method Description private voidConnectedComponentsDFS. dfs(Node n, java.util.List<Node> inodes, java.util.List<Node> onodes, Graph orig)Recursive dfs that stores the nodes of a connected component.private GraphShortestPath. removePaths(Graph graph, Node from, Node to)Private class for removing visited paths that not reach the destination node.private GraphBreadthFirstTraversalSearch. searchNode(Graph graph, Node node)Helper method to search for the SubGraphs in Breadth First Search.private GraphDepthFirstTraversalSearch. searchNode(Graph graph, Graph subGraph, Node node, java.util.List<Node> visited)Helper method to search for the SubGraphs in Depth First search.Method parameters in edu.claflin.finder.algo with type arguments of type Node Modifier and Type Method Description private NodeDijkstraShortestPath. closestReachableUnvisited(java.util.HashMap<Node,java.lang.Double> shortestPathMap, Graph graph, java.util.Set<java.lang.String> visited)private voidConnectedComponentsDFS. dfs(Node n, java.util.List<Node> inodes, java.util.List<Node> onodes, Graph orig)Recursive dfs that stores the nodes of a connected component.private GraphDepthFirstTraversalSearch. searchNode(Graph graph, Graph subGraph, Node node, java.util.List<Node> visited)Helper method to search for the SubGraphs in Depth First search. -
Uses of Node in edu.claflin.finder.algo.clustering
Fields in edu.claflin.finder.algo.clustering with type parameters of type Node Modifier and Type Field Description private java.util.HashMap<Node,java.lang.Integer>Walktrap. degreesprivate java.util.HashMap<java.lang.Integer,java.util.List<Node>>Walktrap. listprivate java.util.HashMap<java.lang.Integer,java.util.HashMap<Node,java.lang.Double>>Walktrap. PvMethods in edu.claflin.finder.algo.clustering that return types with arguments of type Node Modifier and Type Method Description private java.util.HashMap<Node,java.lang.Double>Walktrap. cprobs(java.util.List<Node> C, Graph graph, java.util.List<Node> graphNodes)Get a probability vector for a community.private java.util.HashMap<Node,java.lang.Double>Walktrap. merge_probs(int i, int j)Calculate the probability vectors of joining 2 communities.Method parameters in edu.claflin.finder.algo.clustering with type arguments of type Node Modifier and Type Method Description protected java.util.ArrayList<Graph>ClusteringAlgorithm. buildCommunityGraphs(java.util.List<java.util.List<Node>> cs, Graph graph)private java.util.HashMap<Node,java.lang.Double>Walktrap. cprobs(java.util.List<Node> C, Graph graph, java.util.List<Node> graphNodes)Get a probability vector for a community.private doubleWalktrap. delta_sigma(int C1index, int C2index, java.util.List<Node> graphNodes)Calculate delta sigma from communities C1 and C2 according to Section 4.2 Theorem 5 in the paper.private doubleWalktrap. distance(int i, int j, java.util.List<Node> graphNodes)Compute the distance between community i and community j. -
Uses of Node in edu.claflin.finder.logic
Fields in edu.claflin.finder.logic declared as Node Modifier and Type Field Description private NodeEdge. destinationThe node representing the destination.private NodeEdge. sourceThe node representing the source.Fields in edu.claflin.finder.logic with type parameters of type Node Modifier and Type Field Description private java.util.ArrayList<Node>Graph. nodeListThe list of the nodes added to the graph.Methods in edu.claflin.finder.logic that return Node Modifier and Type Method Description NodeNode. duplicate()Returns a copy of this Node that is a new object in memory.NodeEdge. getDestination()Access method for the Edge's destination.NodeGraph. getNode(java.lang.String NodeName)Gets a node based on its name.NodeEdge. getSource()Access method for the Edge's source.Methods in edu.claflin.finder.logic that return types with arguments of type Node Modifier and Type Method Description static java.util.ArrayList<java.util.ArrayList<Node>>BronKerboschBipartiteUtils. bipartiteDivision(Graph existingGraph)Divides the given graph into bipartite sets.static java.util.ArrayList<java.util.ArrayList<Node>>BronKerboschBipartiteUtils. constructArrayList(java.util.Set<Node> groupA, java.util.Set<Node> groupB)Constructs array list of array lists from sets.java.util.List<Node>Graph. getAdjacencyList(Node node)Obtains an adjacency list for the supplied node based on the Graph.java.util.List<Node>Graph. getNodeList()Returns the list of nodes in the graph.java.util.ArrayList<Node>Graph. uniqueCopyNodeList()Clone method that only clones the node list, done for convenience because lists don't have built in cloning.Methods in edu.claflin.finder.logic with parameters of type Node Modifier and Type Method Description booleanGraph. addNode(Node node)Adds a node to the graph.private voidGraph. checkNode(Node node)Verifies that the node is NOT in the graph.intNode. compareTo(Node that)booleanGraph. containsNode(Node node)Checks if the graph contains the given node.EdgeEdge. duplicate(Node source, Node destination)Attempts to duplicate an Edge based on the supplied parameters.java.util.List<Node>Graph. getAdjacencyList(Node node)Obtains an adjacency list for the supplied node based on the Graph.intGraph. getDegree(Node n)EdgeGraph. getEdge(Node source, Node destination)Locates an Edge object in the edgeList and returns it.intGraph. getNodeIndex(Node node)Gets the index of a Node object in memory.voidGraph. removeEdgesInvolving(Node n)Remove all the edges in which the given Node participates.voidGraph. removeNode(Node node)Removes a node from the set.private static booleanBronKerboschBipartiteUtils. satisfies(Graph existingGraph, java.util.Set<Node> addSet, java.util.Set<Node> compareSet, Node current)Private method for stepping through the adjacency lists and determining if the graph is bipartite.voidGraph. transferEdgesContainingNodeFromGraph(Graph graph, Node node)Adds all edges containing the input node from the input graph to this graph, provided that the other vertex is already within this graph.voidGraph. transpose(Node node1, Node node2)Transposes the specified nodes.Method parameters in edu.claflin.finder.logic with type arguments of type Node Modifier and Type Method Description voidGraph. addEdgesBetweenAllNodesInList(java.util.ArrayList<Node> list)Adds edges in between all possible pair combinations of nodes in a list if both nodes involved are present in the graph.booleanGraph. addNodes(java.util.List<Node> nodes)Adds a list of nodes to the graph.booleanConditionedGraph. addPartialGraph(java.util.List<Node> nodes, java.util.List<Edge> edges)Adds a partial graph to this graph.booleanGraph. addPartialGraph(java.util.List<Node> nodes, java.util.List<Edge> edges)Adds a partial graph to this graph.static java.util.ArrayList<java.util.ArrayList<Node>>BronKerboschBipartiteUtils. constructArrayList(java.util.Set<Node> groupA, java.util.Set<Node> groupB)Constructs array list of array lists from sets.java.util.ArrayList<Edge>Graph. getEdgesBack(java.util.List<Node> nodes)Gets the list edges of this Graph that involve the nodes in the given listGraphGraph. getSubGraph(java.util.List<Node> nodes, java.lang.String nameQualifier)Returns a subGraph of this graph.voidGraph. intersect(java.util.List<Node> list)Intersects this graph's node list with the input list.voidGraph. removeEdgesBetweenAllNodesInList(java.util.ArrayList<Node> list)Removes edges in between all possible pair combinations of nodes in a list if both nodes involved are present in the graph.private static booleanBronKerboschBipartiteUtils. satisfies(Graph existingGraph, java.util.Set<Node> addSet, java.util.Set<Node> compareSet, Node current)Private method for stepping through the adjacency lists and determining if the graph is bipartite.private voidConditionedGraph. superAddPartialGraph(java.util.List<Node> nodes, java.util.List<Edge> edges)Private method for circumventing the condition restrictions.Constructors in edu.claflin.finder.logic with parameters of type Node Constructor Description Edge(Node source, Node destination, D data, boolean undirected)Initializes the Edge object.Constructor parameters in edu.claflin.finder.logic with type arguments of type Node Constructor Description Graph(java.lang.String graphName, java.util.ArrayList<Node> nodeList, java.util.ArrayList<Edge> edgeList)Private constructor used by subGraph method. -
Uses of Node in edu.claflin.finder.logic.communities
Fields in edu.claflin.finder.logic.communities with type parameters of type Node Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.util.List<Node>>Communities. listMethods in edu.claflin.finder.logic.communities that return types with arguments of type Node Modifier and Type Method Description java.util.List<java.util.List<Node>>Communities. getList()Methods in edu.claflin.finder.logic.communities with parameters of type Node Modifier and Type Method Description intCommunities. indexOfNode(Node n)intCommunities. NodesInSameCommunity(Node n1, Node n2)Determine if 2 Nodes are in the same Community.Method parameters in edu.claflin.finder.logic.communities with type arguments of type Node Modifier and Type Method Description doubleCommunities. a(java.util.List<Node> c)booleanCommunities. connectedCommunities(java.util.List<Node> c1, java.util.List<Node> c2)doubleCommunities. e(java.util.List<Node> c1, java.util.List<Node> c2)Constructor parameters in edu.claflin.finder.logic.communities with type arguments of type Node Constructor Description Communities(java.util.HashMap<java.lang.Integer,java.util.List<Node>> list, Graph g) -
Uses of Node in edu.claflin.finder.logic.communities.struct.fast_greedy_struct
Fields in edu.claflin.finder.logic.communities.struct.fast_greedy_struct with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>VectorValue. communityMethods in edu.claflin.finder.logic.communities.struct.fast_greedy_struct that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>VectorValue. getCommunity()Constructor parameters in edu.claflin.finder.logic.communities.struct.fast_greedy_struct with type arguments of type Node Constructor Description VectorValue(java.util.List<Node> c)VectorValue(java.util.List<Node> c, double a) -
Uses of Node in edu.claflin.finder.logic.cond
Methods in edu.claflin.finder.logic.cond with parameters of type Node Modifier and Type Method Description private booleanBipartiteCondition. satisfies(Graph existingGraph, java.util.Set<Node> addSet, java.util.Set<Node> compareSet, Node current)Private method for stepping through the adjacency lists and determining if the graph is bipartite.Method parameters in edu.claflin.finder.logic.cond with type arguments of type Node Modifier and Type Method Description private booleanBipartiteCondition. satisfies(Graph existingGraph, java.util.Set<Node> addSet, java.util.Set<Node> compareSet, Node current)Private method for stepping through the adjacency lists and determining if the graph is bipartite.
-